# -*- coding: utf-8 -*-
# @Time    : 2024/6/6 上午11:51
# @Author  : zhh
import pytest

from common.yaml_utils import YamlUtils


@pytest.fixture(scope='function')
def conn_database():
    print("连接数据库")
    yield
    print("关闭数据库")

# @pytest.fixture(scope='session',autouse=True)
# def clear_yaml():
#     #yaml_utils = YamlUtils()  # 创建 YamlUtils 类的实例
#     YamlUtils.clear_yaml()